{{>header this}}

<!-- start #main-->
<div class="col-mb-12 col-8" id="main" role="main">
    <div class="posts">
        {{#index}}
        {{#posts}}
        <article class="post" itemscope
                 itemtype="http://schema.org/BlogPosting">
            <h2 class="post-title" itemprop="name headline">
                <a itemtype="url" href="{{config.siteBaseUrl}}/{{slug}}">{{title}}</a>
            </h2>
            <ul class="post-meta">
                <li itemprop="author" itemscope itemtype="http://schema.org/Person">作者:
                    <a itemprop="name"
                       href="#"
                       rel="author">{{author}}</a>
                </li>
                <li>时间:
                    <time datetime="{{date}}"
                          itemprop="datePublished">{{date}}
                    </time>
                </li>
                <li>分类:
                    {{#tags}}
                    <span><a href="#">{{tag}}</a>-</span>
                    {{/tags}}
                </li>
            </ul>
            <div class="post-content" itemprop="articleBody">
                {{{content}}}
            </div>
        </article>
        {{/posts}}
        <a href={{index.previousPage}}>previous</a> / <a href={{index.nextPage}}>next</a>
        {{/index}}
    </div>
</div>
<!-- end #main-->

{{>sidebar this}}
{{>footer this}}
